package com.yxy.model;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import java.util.Date;
import java.math.BigDecimal;

import javax.persistence.*;

//会议室
@Data
@Entity
@Table(name = "table_meeting",schema = "")
public class TableMeeting {

  //null
  @Id
  @KeySql(useGeneratedKeys = true,sql = "SELECT @@IDENTITY",order = ORDER.AFTER)
  @Column(name = "id")
  private Long id;

  //会议室门牌号
  @Column(name = "meeting_code")
  private String meetingCode;

  //会议室名称
  @Column(name = "meeting_name")
  private String meetingName;

  //null
  @Column(name = "create_date")
  private Date createDate;

  //null
  @Column(name = "create_user_id")
  private Long createUserId;

  //null
  @Column(name = "create_user_name")
  private String createUserName;

  //null
  @Column(name = "update_date")
  private Date updateDate;

  //null
  @Column(name = "update_user_id")
  private Long updateUserId;

  //null
  @Column(name = "update_user_name")
  private String updateUserName;

  //null
  @Column(name = "tenant_id")
  private Long tenantId;

  //会议室地址
  @Column(name = "meeting_address")
  private String meetingAddress;


}
